package controllers;

import java.io.Serializable;
import java.util.Date;
import java.util.Map;

import records.*;

public class PersistentObject implements Serializable {
	private Map<String, BankRecords> bankRecords;

	private Date date;
	private static final long serialVersionUID = 2020L;
	
	public PersistentObject(Date date, Map<String, BankRecords> bankRecords) {
		this.bankRecords = bankRecords;
		this.date = date;
	}
	
	public Map<String, BankRecords> getBankRecords() {
		return bankRecords;
	}

	public Date getDate() {
		return date;
	}
}
